package com.tinysand.advert.support;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 广告与推广单元关系请求对象
 *
 * Created By TINY
 * Create Time 2020/2/21
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdUnitRelRequest {

    List<AdUnitItem> unitItems;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class AdUnitItem {
        /* 广告id */
        private Long creativeId;

        /* 推广单元id */
        private Long unitId;
    }
}
